package reflectDemo;

public class Dog {
    private Dog(String name,int age) {
    }

    private void eat(){
        System.out.println("i am eat");
    }

    public void sleep(){
        System.out.println("i am pig");
    }

}
